package com.luping.xiao.xiao.utils;

import java.util.Date;
import java.util.List;

/**
 * 设备升级实体
 * @author admin
 *
 */
public class DeviceUpgrade {
	
	private long id;//主键编号
    private long lineId;//线路编号
    private String lineName;//线路名称
    private int onBoardId;//车辆编号
    private String carNum;//车辆名称
    private float rate;//升级设备进度,单位为百分比
    private String version;//版本
    private Date sendTime;//下发时间
    private int status;//状态(0:升级失败,1: 升级中, 2:升级完成)
    
    private String oldVersion;//历史版本
    
    private String fileName;//文件名
    
    private String filePath;//文件路径
    
    private List<String> onBoardIds;
    
    public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	
    
    public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getLineId() {
		return lineId;
	}
	public void setLineId(long lineId) {
		this.lineId = lineId;
	}
	public String getLineName() {
		return lineName;
	}
	public void setLineName(String lineName) {
		this.lineName = lineName;
	}
	public int getOnBoardId() {
		return onBoardId;
	}
	public void setOnBoardId(int onBoardId) {
		this.onBoardId = onBoardId;
	}
	public String getCarNum() {
		return carNum;
	}
	public void setCarNum(String carNum) {
		this.carNum = carNum;
	}
	public float getRate() {
		return rate;
	}
	public void setRate(float rate) {
		this.rate = rate;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public Date getSendTime() {
		return sendTime;
	}
	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getOldVersion() {
		return oldVersion;
	}
	public void setOldVersion(String oldVersion) {
		this.oldVersion = oldVersion;
	}
	public List<String> getOnBoardIds() {
		return onBoardIds;
	}
	public void setOnBoardIds(List<String> onBoardIds) {
		this.onBoardIds = onBoardIds;
	}
	public String getFilePath() {
		return filePath;
	}
	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}
	
}